home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2005 March
/
Gamestar_71_2005-03_dvd.iso
/
Dema
/
willofsteel_demo.exe
/
{app}
/
Data
/
gui
/
GUIconstants.lua
< prev
next >
Wrap
Text File
|
2004-10-23
|
3KB
|
97 lines
-- --------------------------------------------------- COMPONENT ID
ID_BUTTON = 0
ID_RADIO_BUTTON = 1
ID_CHK_BOX = 2
ID_EDIT_BOX = 3
ID_LIST = 4
ID_TEXT_BOX = 5
ID_PICTURE_BOX = 6
ID_FRAME = 7
ID_SCROLL = 8
ID_PROGRESSBAR = 9
ID_SLIDEMENU = 10
ID_COMPASS = 11
ID_MINIMAP = 12
ID_SELECTIONBOX = 13
ID_TABLECC = 14
ID_POOLFRAME = 15
ID_SOLDIERPOOL_ELEM = 16
ID_VEHICLEPOOL_ELEM = 17
-- --------------------------------------------------- PGUITextBox type
PGUI_SINGLELINE_TEXT = 0
PGUI_MULTILINE_TEXT = 1
PGUI_FILENAME = 2
PGUI_SIGNED_INTEGER = 3
PGUI_UNSIGNED_INTEGER = 4
PGUI_FLOAT = 5
-- --------------------------------------------------- MESAGE ID
PGUI_1STBUTTON_DOWN = 0
PGUI_1STBUTTON_UP = 1
PGUI_1STBUTTON_CLCK = 2
PGUI_1STBUTTON_DBLCLCK = 3
PGUI_1STBUTTON_DRAG = 4
PGUI_1STBUTTON_DROP = 5
PGUI_2NDBUTTON_DOWN = 6
PGUI_2NDBUTTON_UP = 7
PGUI_2NDBUTTON_CLCK = 8
PGUI_2NDBUTTON_DBLCLCK = 9
PGUI_2NDBUTTON_DRAG = 10
PGUI_2NDBUTTON_DROP = 11
PGUI_POINTER_MOVE = 12
PGUI_POINTER_HOVER = 13
PGUI_POINTER_LEAVE = 14
PGUI_POINTER_DRAG_HOVER = 15
PGUI_POINTER_DRAG_LEAVE = 16
PGUI_CHAR_PRESSED = 17
PGUI_KEY_PRESSED = 18
PGUI_VALUE_CHANGED = 19
PGUI_RELEASE_FOCUS = 20
PGUI_INITIALISATION = 21
PGUI_ANIMATION_FINISHED = 22
-- -------------------------------------------- PGUISelectionBox child types
PGUI_SB_GROUPED_FRAME = 0
PGUI_SB_UNGROUPED_FRAME = 1
PGUI_SB_DETAILED_FRAME = 2
PGUI_SB_HEALTH_TEXT = 3
PGUI_SB_HEALTH_BAR = 4
PGUI_SB_ARMOUR_TEXT = 5
PGUI_SB_ARMOUR_BAR = 6
PGUI_SB_DEFENCE_TEXT = 7
PGUI_SB_DEFENCE_BAR = 8
PGUI_SB_MORALE_TEXT = 9
PGUI_SB_MORALE_BAR = 10
PGUI_SB_CQB_TEXT = 11
PGUI_SB_CQB_BAR = 12
PGUI_SB_ACURACY_SOLDIER_TEXT = 13
PGUI_SB_ACURACY_SOLDIER_BAR = 14
PGUI_SB_VETERANCY_TEXT = 15
PGUI_SB_VETERANCY_BAR = 16
PGUI_SB_WEAPON_1ST = 17
PGUI_SB_WEAPON_2ND = 18
PGUI_SB_FIREPOWER_1ST = 19
PGUI_SB_FIREPOWER_2ND = 20
PGUI_SB_ACCURACY_1ST = 21
PGUI_SB_ACCURACY_2ND = 22
PGUI_SB_AMMORECYCLE_1ST_TEXT = 23
PGUI_SB_AMMORECYCLE_1ST_BAR = 24
PGUI_SB_AMMORECYCLE_2ND_TEXT = 25
PGUI_SB_AMMORECYCLE_2ND_BAR = 26
PGUI_SB_MAXSPEED_TEXT = 27
PGUI_SB_MAXSPEED_BAR = 28
PGUI_SB_SMALL_PCT = 29
PGUI_SB_BIG_PCT = 30